home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilreen
/
lqmatrix
/
lqdoc.exe
/
lha
/
LQMATRIX.DOC
< prev
next >
Wrap
Text File
|
1992-04-28
|
120KB
|
2,588 lines
L Q M A T R I X
FONT design programs for Epson LQ dot matrix printers
(and compatibles)
Written in Turbo Pascal 3, 5.5 & 6
(Borland International)
The Programs & Documentation
by
J. David Sapir [Jimmy Paris Software]
Copyrighted 1985-1991
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Please help distribute these programs by sharing
unmodified copies of the Shareware disk.
J. David Sapir
906 Old Farm Rd.
Charlottesville, VA. 22903
U.S.A.
(804) 295-5496
CompuServe 70242,1114
Revised 26.iv.92
(to go with version [ 4.41 ] | 12.iv.92 of LQMATRIX)
page: 2
CONTENTS
Contents 2
Definition of Shareware 3
Disclaimer - Agreement 3
ASP Ombudsman Statement. 4
Registration 5
Introduction 6
Materials Included on the Disk(s) 7
LQ.EXE 12
Using the Fonts 15
LQMATRIX.EXE 23
Using the Editor 28
Utilities
LQCONVRT.EXE 38
LQLANDS.EXE 39
LQASCII.EXE 39
FX_LQ.COM 40
PRN-FONT.EXE 40
Acknowledgements and Font
Explanations 41
About the programmer 46
page: 3
Definition of Shareware
Shareware distribution gives users a chance to try software
before buying it. If you try a Shareware program and
continue using it, you are expected to register. Individual
programs differ on details -- some request registration
while others require it, some specify a maximum trial
period. With registration, you get anything from the simple
right to continue using the software to an updated program
with printed manual.
Copyright laws apply to both Shareware and commercial
software, and the copyright holder retains all rights, with
a few specific exceptions as stated below. Shareware authors
are accomplished programmers, just like commercial authors,
and the programs are of comparable quality. (In both cases,
there are good programs and bad ones!) The main difference
is in the method of distribution. The author specifically
grants the right to copy and distribute the software, either
to all and sundry or to a specific group. For example, some
authors require written permission before a commercial disk
vendor may copy their Shareware.
Shareware is a distribution method, not a type of software.
You should find software that suits your needs and
pocketbook, whether it's commercial or Shareware. The
Shareware system makes fitting your needs easier, because
you can try before you buy. And because the overhead is low,
prices are low also. Shareware has the ultimate money-back
guarantee -- if you don't use the product, you don't pay for
it.
Disclaimer - Agreement
Users of LQMATRIX and accompanying programs must accept this
disclaimer of warranty: "LQMATRIX and accompanying programs
are supplied as is. The author disclaims all warranties,
expressed or implied, including, without limitation, the
warranties of merchantability and of fitness for any
purpose. The author assumes no liability for damages, direct
or conse-quential, which may result from the use of LQMATRIX
and accompanying programs."
LQMATRIX and accompanying programs are "shareware programs"
and are provided at no charge to the user for evaluation.
Feel free to share them with your friends, but please do not
give them away altered or as part of another system. The
essence of "user-supported" software is to provide personal
computer users with quality software without high prices,
and yet to provide incentive for programmers to continue to
develop new products. If you find this program useful and
page: 4
find that you are using LQMATRIX and accompanying programs
and continue to use LQMATRIX and accompanying programs after
a reasonable trial period, you must make a registration
payment of $19.50 U.S. ($24 U.S. overseas) to J. David
Sapir. The $19.50 registration fee will license one copy for
use on any one computer at any one time. You must treat
this software just like a book. An example is that this
software may be used by any number of people and may be
freely moved from one computer location to another, so long
as there is no possibility of it being used at one location
while it's being used at another. Just as a book cannot be
read by two different persons at the same time.
Commercial users of LQMATRIX and accompanying programs must
register and pay for their copies of LQMATRIX and
accompanying programs within 30 days of first use or their
license is withdrawn. Site-License arrangements may be made
by contacting J.David Sapir.
Anyone distributing LQMATRIX and accompanying programs for
any kind of remuneration must first contact J. David Sapir
at the address below (pg. 4) for authorization. This
authorization will be automatically granted to distributors
recognized by the (ASP) as adhering to its guidelines for
shareware distributors, and such distributors may begin
offering LQMATRIX and accompanying programs immediately
(However J. David Sapir must still be advised so that the
distributor can be kept up-to-date with the latest version
of LQMATRIX and accompanying programs.).
You are encouraged to pass a copy of LQMATRIX and
accompanying programs along to your friends for evaluation.
Please encourage them to register their copy if they find
that they can use it. All registered users will receive a
copy of the latest version of the LQMATRIX and accompanying
programs.
ASP Ombudsman Statement.
LQMATRIX and accompanying programs are produced by a member
of the Association of Shareware Professionals (ASP). ASP
wants to make sure that the shareware principle works for
you. If you are unable to resolve a shareware-related
problem with an ASP member by contacting the member
directly, ASP may be able to help. The ASP Ombudsman can
help you resolve a dispute or problem with an ASP member,
but does not provide technical support for members'
products. Please write to the ASP Ombudsman at 545 Grover
Road, Muskegon, MI 49442-9427 or send a Compuserve message
via CompuServe Mail to ASP Ombudsman 70007,3536
page: 5
REGISTRATION
Registration is for $19.50 U.S. ($24 U.S. from outside the
U.S.) Registered users will receive the following upon
registration: The latest version of the programs, any new
fonts that have been added, and a printed version of this
documentation along with an explanation of the extra fonts.
Registered users will be notified at any time a major update
is made.
Registered users receive technical support. Feel free to
phone or write me for help and I will do whatever I can. If
you find a bug let me know and I shall fix it. And within
limits I shall be happy to customize the program for your
particular needs. And, if you have any ideas for
improvements, let me know and I shall be happy to consider
making them.
When registering please indicate the version number and date
listed at the start of your current LQMATRIX program. I
would like to know as well what you use the user made fonts
for: In translation work, for scientific documents, as a
linguist (registered users get a set of useful IPA
characters), in editing or just because you like to vary the
scripts you use when you print? REGISTER.DOC contains a
registration form.
Send a check or postal money order (sometimes cash is best
from overseas) to:
J. David Sapir
906 Old Farm Rd.
Charlottesville, VA. 22903
USA
------------------------------------------------------------
[There is a version of this set of programs for the Epson 9
pin FX printers, FXMATRIX (and untested versions for the
Gemini and Omni 9 pin printers, and the Diconex ink jet
printer). Inquire.]
------------------------------------------------------------
page: 6
INTRODUCTION
Dot matrix printers operate in either a Text or a Graphics
mode. The printer can print User made fonts in either mode,
but it does it differently for each.
The Graphic mode prints dot by dot. The software (such as
Fancy Font) reads the text to be printed and for each letter
sends to the printer the appropriate dots. The results can
be extremely impressive (especially by using quadruple or
hex-density graphics). However the printing is
excruciatingly slow and is best used to create letterheads
and attractive logos.
In contrast, LQMATRIX, LQ and the accompanying programs and
fonts are designed to use the Text mode of printing user
made fonts. This mode is as fast as using the default
letters and thus is useful for printing long texts. In the
Text mode the printer accepts a ('soft' or RAM) font into
memory and uses it rather than the built in ('hard' or ROM)
font. In fact, when so instructed, it can switch back and
forth between the two. Thus if you have written a paper in
English but wish to cite examples in the Greek alphabet you
can 'download' (send to the printer) the Greek font
(GREEK.LQN on this package) and use it when necessary.
What these programs do is to provide one of the great
advantages of a Laser printer - the possibility of using a
wide variety of interesting and attractive fonts - with a 24
pin dot matrix machine. In trying these fonts, especially in
the proportional mode, you will be surprised how attractive
many of them are.
There will be two types of users for these programs. First
are those who wish to use a variety of ready made fonts for
different purposes, or just for variety's sake. These users
will not be interested in creating their own fonts. For
them, all that is needed is the LQ.EXE program. With it, any
of the premade fonts included here can be downloaded to the
printer.
The other users are those who wish to create their own
fonts, modify to their satisfaction those that are already
supplied, or create a small number of special characters for
a specific task. LQMATRIX.EXE provides just the environment
these users need. It is an easy to use matrix program with
many features that permits the user to create characters,
store them in a file, and download them to the Epson LQ
family of 24 dot matrix printers. With it you can design
Draft, NLQ (10 cpi), and Proportional characters.
[Compatibility: LQ & LQMATRIX will work with EPSON 24 pin
page: 7
compatibles such as the NEC P2200 writers. With the 24 pin
Panasonic printer you will have to set it for the EPSON 2500
mode and make sure that you have added the extra memory to
the printer (at an extra cost!). Mr. Jim Sweeney of Laguna
Beach, CA. writes:
"The Panasonic 24-pin printers are actually not that
expensive to upgrade for downloadable characters. All that
is required is a commonly available 256K SRAM (32Kx8,
probably 200 ns or under). I bought a chip at a local swap
meet for $9. It isn't immediately obvious how to open the
printer up (it snaps together; the front panel comes off
first) but once it's open an empty socket presents itself."
Send me a SSAE for instructions, written by Bob Fink,
describing how to install the SRAM chip in the Panasonic
KXP-1124.
It should work as well with recent models of the Okidata and
Toshiba 24 pin printers when set to emulate the EPSON
printers.]
Materials Included on the Disk(s)
The materials are distributed in two ways: A shareware
version on one disk comprised of self-extracting files or
the registered version on two disks, the first of which
containing the main programs and numberous downloadable
fonts which are all self-extracting. And the second disk
contains more downloadable fonts, several utilities and all
of the documentation.
(The archives were created with LHarc (c) Yoshi '89).
The contents of the registered version is as follows. (The 3
inch disk version contains both Disk #1 and #2) The
shareware version contains all of the programs and utilities
and most, but not all (not enough room), of the fonts. Cf.
the PACKING.LST file on the shareware disk for details.
Disk #1
GO.BAT - A batch file for copying the files.
GO.DOC - Explanation of the Batch.
GETYN.COM - Batch file Utility
LQ.EXE - LQ.EXE - The downloading program
LQMATRIX.EXE - The main font designer.
LQMATRIX.HLP - On line help file for LQMATRIX.EXE.
LQX.DEF - Setup for LQMATRIX and LQ
PACKING.LST - Listing of all the materials in the package.
PRN-FONT.EXE - An utility to printout for display each
font in the current directory.
READ.ME - short introduction to LQMATRIX
page: 8
LQFONT1 EXE self-extracting (slfx) All font files
ALPHA.LQD
BLOCK.LQP
CAPS.LQD
GOTHIC.LQP (copyright 1989 by Hermann Philipps)
ITALIC.LQP (copyright 1989 by Dale Koepp)
LARGO.LQN (copyright 1989 by Hermann Philipps)
LARGO.LQP " " " "
OCR-A.LQN (contributed by Libralesso Ennio)
OCR-B.LQN " " " "
PRES.LQN
PRES.LQP
PRES2.LQN
PRES2.LQP
SCRIPT.LQN
SCRIPT.LQP
SCRIPT2.LQN
SCRIPT2.LQP
SPEAKER.LQP (copyright 1989 by Rev. William Moorhead.)
STUDRUSS.LQP (copyright 1989 by Mr. Ernest R. May)
TECHNO.LQP (copyright 1991 by Keith Levkoff)
slfx LQCRE.EXE - fonts contributed by Mr. C. Ross Chamberlain
(copyrighted 1989-90 by C. Ross Chamberlain)
ARTSY.LQP
CLASSIC.LQP
ENGLISH.LQP
HAPIFACE.LQP
ROSCRAFT.LQP
SCRAWL.LQP
SINCERE.LQP
SQUARE.LQP
TYPER.LQP
ZODIAC.LQP
slfx LQRNW.EXE - fonts contributed by Mr. Richard N. Wisan.
(copyrighted 1990 by Richard N. Wisan)
CONDD.LQD
CONDP.LQP
CONDQ.LQN
ELITEP.LQP
ELITEQ.LQN
ELLETD.LQD
ELLETP.LQP
ELLETQ.LQN
FIFD.LQD
FIFP.LQP
FIFQ.LQN
RNW.TXT (Mr. Wisan's explanation of his updates)
SANSP.LQP
SANSQ.LQN
WEED.LQD
WEEP.LQP
WEEQ.LQN
WIDTHS (Width tables for Mr. Wisan's fonts)
page: 9
Disk #2 (5 inch floppy)
GO2.BAT - A batch file for unpacking the self-extracting
files. (2nd 5¼ inch disk only)
slfx - LQFONT2.EXE - Various non-Roman fonts.
GREEK.DOC (documentation for GREEK.LQN)
GREEK.LQN (copyright 1989 by Rev. William Moorhead)
HEBREW.LQP (contributed by Roy Hensel)
IPA1.LQN (copyright 1989 by Michael Henderson)
LFLARGO.LQP (Left angle version of LARGO)
MATH.LQN (contributed by Ian Lowe)
RTLARGO.LQP (Right angle version of LARGO)
RUSS.LQP (copyright 1989 by Mr. J. William Davis)
slfx LQREH.EXE - fonts contributed by Mr. Roy E. Hensel.
(The GO batch program will put these in a separate directory
\HENSEL.) (Copyright 1990 by Roy E. Hensel)
COMIC.LQN (converted from COMIC.LQP)
COMIC.LQP
CURSIVE.LQP
HENSEL.DOC
HENSEL.LQP
TECH.LQP
Please turn to Pages 39-44 for explanations about the
contributed fonts.
Utility Programs
FX_LQ.COM - A utility to help you convert FX files
written with FXMATRIX to LQ files.
LQASCII.EXE - A utility to convert the LQ binary files to
ASCII text files (cf. Utilities).
LQCONVRT.EXE - Converts a NLQ font to proportional and the
reverse.
LQLANDS.EXE - Landscape print driver. (cf. Utilities)
Documentation (in a slfx LQDOC.EXE on 5¼ the disk)
LICENSE.DOC - Conditions for use and distribution.
LQMATRIX.DOC - The main documentation.
OMBUDS.DOC - ASP ombudsman statement.
PNASONIC.DOC - - a Caution about Pansonic 24 pin printers
QUICKIE.DOC - Help for a first try.
REGISTER.DOC - Form for registration.
SHR-WARE.DOC - Extended explanation of SHAREWARE.
VENDOR.DOC - Description of LQMATRIX for use by a vendor.
WARRANTY.DOC - Warranty disclaimer.
WP50.DOC - Extended documentation, by Allen A. Cook
for using LQMATRIX with Word Perfect 5.0
page: 10
Getting started.
Unpacking: If you have the one disk self-extracting version,
put the disk in the A: drive and type GO. This will bring up
the GO.BAT batch file which will run all of the self-
extracting programs prompting you to change disks when
necessary. If you are unpacking on to a Hard Disk a sub-
directory called LQMATRIX will automatically by created. You
can unpack the files independently of the batch by typing
the name of the file and hitting CR (as with any program).
If you wish to direct the unarchived files to another drive
use the switch \X: after the file name (where X:=the desired
drive).
BEFORE YOU DO ANYTHING: make sure that your printer is set
to receive a downloaded soft font. Most Epson and compatible
24 pin printers have a 'buffer' memory that can be set to do
one of two jobs (but not both). 1. To accept a text for
printing so that you can do something else with your
computer while the printing is going on 'in the back
ground.' 2. Accept, store and use a downloaded font. You
determine which of the two jobs the buffer is to do by
setting a printer dip switch (or make changes from the Setup
in the control panel). Usually the switch must be set to the
off position for downloading. CONSULT YOUR PRINTER MANUAL.
(On the Epson 550 the switch is 2-5 and on the old Epson LQ
1500 it is 1-8.)
You can see what each of the fonts looks like within the
current directory by running the PRN_FONT.EXE utility. It
will print out each font. To work, LQ.EXE must be present.
Getting started is very simple. To see what changes you can
make with your printer download one of the fonts. (Be sure
the printer is on!) For example on disk #2 enter LQ ARTSY
and hit CR. Then send a document to the printer. The easiest
way to do that is as follows:
Type this DOS command:
copy con prn
Now write something. When finished type ^Z (control Z) and
hit CR.
Your message will now go to the printer.
Most of the time you will want to use the fonts from within
a word processor. In the simpler word processors (WP) and
some of the earlier versions of the major WPs all you need
to do is download the font before you boot up or download
from the DOS shell.
page: 11
However, many WPs nowdays reset the printer before they
print. In doing that it eliminates the downloaded font.
There are ways to circumvent the resetting. What you have to
do is to customize the print driver used by the WP by
removing the offending code sequence which is <esc>@, i.e.
ASCII 27, 67 (Hex 1B,40).
Your first job is to find the print driver that you created
when you installed your program (*.PRD file for WORD, *.PRS
for Word Perfect). It is a file that is read by the WP each
time you boot up. If it is a text file, bring it into your
editor and remove the code (<esc>@), then save it as an
simple ASCII text. If it is like the WordPerfect .PRS file
you will need to use whatever print definition utility comes
with your package (WordPerfect's PTR.EXE) This utility will
guide you to the code which you will then remove. You gain
access to WORD's *.PRD files by using the MAKEPRD utility.
The current documentation gives information on Word Perfect
5.1, & XYwrite3, PCwrite, and Word 5.0.
I will gladly help any registered user customize his/her
print driver. Inquire.
page: 12
LQ.EXE
LQ.EXE operates from the command line prompt A>. Enter LQ
followed by the font to be downloaded (be sure that the
printer is on). You need NOT enter the extension (LQP or
LQN). The program will search for that suffix on its own. If
it finds more than one file with this name it will ask you
which one you want (Proportional, NLQ, Draft - whichever
ones are present).
Thus to download the file LARGO.LQP all you do is enter LQ
LARGO <cr> and that will do it. If you enter LQ alone you
will get short help screen.
LQ has the following switches that you may enter from the
command line. These may be entered before or after the file
name. LQ will also function as a simple printer setter, that
is, it will set the printer without downloading a file. In
doing so you will want to indicate before anything else what
basic mode you want to use, Draft, NLQ, or Proportional. The
/1n switch will permit you to do this.
/0 : (zero) sets the printer to the ROM - default -
characters. You will then have to change to the user
characters from within the document. (Cf. below on
using the programs.)
/1n : use this only when you are setting the printer without
downloading. /1P - Set to Proportional printing, /1N -
Set to NLQ, /1D - Set to Draft.
/B : turns off the bell at the end of downloading. The 'no
file on disk' noise (in honor of Haydn's 93rd
symphony) will NOT be turned off.
/C : sets the printer to compressed printing. Not all
printers will accept compressed with proportional.
/D : sets the printer to double strike.
/E : sets the printer to emphasized.
/F : directs the download commands to a disk file rather
than to the printer.
/I : sets the printer to Italics.
/L : sets the printer to double wide, large, print.
/M : sets the printer to Elite (12 cpi) - only with NLQ.
/P : will print out the contents of the file as it is being
downloaded. Numbers and Upper and Lower case letters
page: 13
will be set off on separate lines. You might wish to
use this switch when determining what font to use.
/R : will disable the printer RESET (<esc @>) and the copy
ROM to RAM functions (<esc : 0 0 0>). Use this when
you wish to superimpose one download file on another
[In doing this it is essential that the two files are
in the SAME mode. If not, the original download will
be disabled.
/@ : like /R will disable the RESET, but will no not
disable the copy ROM to RAM routine. This will be
useful when downloading in the middle of a page. The
printer's formfeed calculation will not be reset.
/Sn : Set the printer font and /Kn : Copy the ROM font
into RAM where n=S : set or copy Sans-serif into RAM;
n=C : Courier; n=P : Prestige; n=W : Script; n=O :
OCR-B. The default is Roman. Use ONLY on printers that
support multiple resident fonts. The LQ850 supports
Roman and Sans-serif fonts. Thus entering /SS sets
printer's ROM to Sans-serif and /KP copies to Prestige
font into RAM.
This feature will be useful when you do not down load.
You can set the ROM for one font and the RAM for
another, and switch back and forth the way you
otherwise would switch back and forth between the
default and the downloaded font.
/T : narrows spacing between lines to about 1/8th of an
inch so graph characters will touch.
/U : will unregister the copy of LQ.EXE. (If registered.)
/W : will change the line spacing from the default of 6
lines per inch to 4 lines per inch.
/X : ON some PRINTERS only (LQ 850 for example). Opens the
ASCII locations 128 through 159 for downloading and
permits downloading upper ASCII character (see page 5
above).
These commands may be given in any combination or in any
order. They may precede or follow, or come on both sides of
the Filename.
A>LQ GOTHIC /E/T gives: GOTHIC.LQP with emphasis and narrow
spacing.
I suggest putting LQ.EXE and your commonly used character
file on your data disk to be used when needed.
page: 14
The /F switch will create a file with the same name, but
with different extensions. SCRIPT.LQP creates SCRIPT.DWP
(download proportional) and GREEK.LQN creates GREEK.DWN
(download NLQ). These files will be essential for word
processors that automatically send setup code to the printer
before activating their print driver (e.g. Word Perfect and
Word). If you enter any of the switches, say /0 (set to ROM)
they will be incorporated into your download file. If you
use the DOS copy routine be SURE to enter the /B (BINARY)
DOS switch, e.g. COPY/B GOTHIC.DWP PRN. This will tell DOS
that the file is a binary file and not a text file. If you
neglect to use the /B switch the copy routine will quit the
first time it encounters the text end-of-file marker: ^Z
(hex 1A). You will want to use this feature in customizing
the fonts for use with Word Perfect.
It will also be useful when you wish to go into the DOS
shell from an application. Often there will not be enough
memory available to run LQ.EXE. By having a *.DW? file you
will be able to use the DOS COPY/B routine.
When giving a copy of your registered program away I would
appreciate very much if you would unregister it. The /U will
run you through the same routine as M,R in LQMATRIX.
page: 15
Using the FONTS
Under normal circumstances you will want to use LQMATRIX in
one of two ways: To replace the entire alphabet with a
design of your own making (as with BLOCK.LQP) or to replace
a few unused characters (@, |, \) with ones of your own. To
work either way all you need do is download the set and
create your document from a word processor. (If the word
processor resets the printer on entering you will have to
download from within the program (the R option in Word
Star.)
But there are times when you will have a large set of user
made characters to combine with the default alphabet. The LQ
printer permits you to do this. While printing it can shift
back and forth between the ROM default characters and the
RAM user made characters.
(The codes are: <esc>%<1> for RAM and <esc>%<0> for ROM.)
How can we make use of this feature? That will depend on
your word processor. Generally, the better ones allow you to
add on some extra print codes.
I have information for the following word processors:
[Guides for other word processors would be greatly
appreciated.]
WORD STAR 3: WS-3 permits 4 user defined print codes that
are assigned to Control letters. Here you would assign the
RAM code to one of them and the ROM code to another.
WORD PERFECT 5.1. (Cf. the document file WP50.DOC for Dr.
Cook's instructions for using WORD PERFECT 5.0.
There has been a change from version 5.0 in the way Word
Perfect handles printing. Now, the default setup within a
.PRS file is to reset the printer at the beginning and end
of each job. Thus if you have downloaded a font with LQ.EXE,
either from the DOS prompt (C:) or from the Word Perfect DOS
shell the downloaded font will be eliminated. There are
three ways around this and one or the other must be used
with version 5.1.
1. Using PRT.EXE remove the reset commands from the .PRS
file you are using. Proceed as follows:
page: 16
Enter Shift10 (Retrieve file)
enter name of file: X.PRS
when file is loaded hit CR to get the main menu.
hit CR with cursor on the 'Initialize and Reset'
option
move down to 'Initialize at start of Print job"
hit TAB to get to the "Expression Column"
delete the sequence [27]"@"
hit CR to get to the next line: "Reset at End of Print
job"
delete the sequence [27]"@" Exit with repeated F7
hits, save the file, and exit the program.
Once these commands have been removed you can now download a
font with LQ.EXE and expect it to remain in the printer's
memory.
2. More interesting is the following. Before you do
anything select the LQ fonts you would like to use. Then,
with LQ.EXE, make 'direct download files' with the LQ.EXE's
/F switch. Thus for the SPEAKER.LQP font enter: LQ SPEAKER
/F and hit CR. This will create a file called SPEAKER.DWP.
This is the font file you will want to use from now on.
Move all of the .DWP (.DWN, etc) fonts to the Word Perfect
directory.
Now, from within Word Perfect you will select the font you
want with the Shift F8 menu, 'Format'. At the beginning of
the document, if you want to whole document to be in the
selected font, or somewhere in the document where you want
it to appear, proceed as follows:
Enter Shift F8 (Format),
4 (Other),
6 (Printer functions),
2 (Print Command),
2 (Filename)
When you get to Filename enter the name of the font you
want, say SPEAKER.DWP. (You do NOT want SPEAKER.LQP, which
will NOT work).
Once you have entered the download command you might wish to
switch back and forth between the Default, built in font,
and the downloaded font. You do this by using the command
string: <27>%1 to turn the download (RAM) font on, and
<27>%0 to turn it off.
To enter the command proceed as above but hit 1 (Command)
rather than 2 (Filename) and enter the sequence you want:
<27>%1 or <27>%0.
page: 17
(The 'Reveal Codes' commands F11 or Alt F3 will shows the
commands in the text.)
With these routines you can use several different fonts
within the same document. Rather nice!
3. Setting up a dedicated print driver (.PRS) file.
Word Perfect allows you to create a .PRS file dedicated to a
single download font. Here is how you do it:
Select the soft font you want to use. Let's make it
SCRAWL.LQP that was designed by Ross Chamberlain.
1. With LQ.EXE create a Download file (.DWP) with LQ SCRAWL
/F and move it to you WP51 directory.
2. With LQMATRIX.EXE bring up the original SCRAWL file by
entering LQMATRIX SCRAWL (CR). From the main Menu enter P
to move to the Print menu and then F to print out the
contents of the SCRAWL file. (Make sure that your printer is
on.) Put the File print aside for the moment. (Do this only
when you are using a proportional file.)
3. Go to your WP51 directory. Bring up the Printer
Definition Program, PTR.EXE. With Shift10 bring into the
program the generic LQ .PRS file, Let's say EPLQ850.PRS.
4. Rename the file to Scrawl. Then hit CR to go to the main
menu where you then go to the 'Initialize and Reset' menu.
On the first line (Initialize Printer (download fonts, etc.)
hit the Tab key to get to the right (Expression) side. This
line will be blank. Write in the following, and do it
exactly!
DOWNLOAD("SCRAWL.DWP")
Then go to the next two lines and remove the reset codes:
[27]"@"
Leave the area with F7. 5. Since Scrawl is a proportional
font with different widths than the built in defaults you
will have to change the width table to suit. In the Printer
Menu move to "Fonts", hit CR
move to "Roman PS", hit CR
move to "Size and Spacing Information", hit CR
move to "Proportional Spacing Table", hit CR twice
Now your job is to change as necessary the character Widths.
Take the "Contents of SCRAWL.LQP" that you printed out from
LQMATRIX enter the printed width for each character in the
file. When you have done this back out the repeated F7.
6. Save the file, but change the name from EPLQ850.PRS to
SCRAWL.PRS Now exit the PTR.EXE program.
page: 18
7. Boot up your WP program. When you want to print with the
SCRAWL font enter the usual Shift 7. In the printer area
proceed as follows:
enter 's' ("select printer"), hit CR
enter 2 ("additional printers"), hit CR
enter 4 ("list printer files"), hit CR
move the cursor to SCRAWL.PRS which you have just created.
Before hitting CR to select the file check to see if the
Initial Base Font has been set to Roman PS. Check by
entering 3 (Edit) and look at item 5. If it is not set to
Roman PS hit 5 and enter the font list and move down to
Roman PS and hit CR.
8. Before printing you must first initialize the printer.
You do that with Shift 7, enter 7 ("initialize printer").
You should now be able to print with the SCRAWL font.
PC-WRITE: With the MENUPRT program you first set up a PR.DEF
file for the LQ. Call up MENUPRT and follow your nose. After
running the program you will exit to the DOS (A>) and will
notice, in calling the directory (DIR) that there is now a
file called PR.DEF (not to be confused with ED.DEF). Before
sending a file to the printer the PR.EXE (or the ED.EXE with
PC-Write 3 and beyond) looks for this ruler file and follows
its customized commands. (PC-Write 3 reads the PR.DEF file
when it is first called. The old PR.EXE has been integrated
with the main program, ED.EXE in PC-Write 3.)
Enter the PC editor and call up the PR.DEF. You will see
lines like these:
#B=2+27,69-27,70
#C=6+15-18
.
.
#L=25+27,83,1-27,84
#B=2 indicates that Alternate key B has been assigned to
ASCII number 2. When the print driver comes across ASCII 2
it will start sending codes to the printer. The first time
it sees ASCII 2 it will send (after the + sign) ASCII 27
(escape) then ASCII 69. This will turn on the bold. When
the print driver encounters 2 again in the same line it
sends the codes following the - sign, in this case 27
followed by 70. This turns off the bold. These type of
commands work for one line only. If the bold is not turned
off within the line, it will automatically go off after the
CR.
page: 19
Now. Find an unused alternate key, say alternate R, which
PC-Write assigns to ASCII 30. Then enter the following code
line:
#R=30 +27,37,1-27,37,0
and save the file with this new code.
Before printing be sure to download your user font using the
LQ.EXE program. If you intend to switch back and forth
between the default ROM and your RAM fonts use the /0
switch. This will set the printer to ROM and you will switch
your user font as follows:
With this new code line in place PC-WRITE allows you to flip
back and forth from ROM to RAM in two different ways -
Within a single line: - Enter Alt R and the printer will
flip into RAM until another Alt R or the end of the line is
reached.
Within a text: - To set the print driver to use the RAM
beyond a single line you must use the Dot Command. A dot
command is written in the extreme left margin and starts for
with alt G (ASCII #11) then with a dot. To turn on a font
you use the .R: dot command followed by the assigned
alternate letter which in our case is R. To turn it off you
use instead .Q: followed by R. Thus
.R:R
turns on the RAM and
.Q:R
turns it off.
Here is another trick that you might want to use. Take an
example. Let's say you have designed the phonetic letter to
indicate a velar nasal (an n with a right side descending
tail) [that is the ng sound in sing]. You have assigned it
in your LQN file to the n position (ASCII no. 110).
Following the manner above you would enter alt R n alt R to
switch to RAM, print the velar n, and then switch back to
ROM. Rather than the inconvenience of the alt R you could
instead assign the upper ASCII 239 - the symbol that looks
like a croquet hoop - to the velar nasal. Then you would
place the following line in your PR.DEF:
$239=27,37,1,110,27,37,0
Then every time PC-Write's print driver encounters ASCII 239
(the croquet hoop) it will first send the user RAM code
(esc,%,1 - i.e. 27, 34,1), then the letter n (110) and
page: 20
finally the back to ROM code (esc,%,0 - i.e. 27,34,0). [
This, by the way, is how the LQ850 manages its esc T2
sequence.]
PC-Write allows you to enter the RAM/ROM switches directly
by using the Alt key along with the numeric pad. Follow the
instructions below for Microsoft WORD.
Rev William Moorhead supplies the following guide for using
LQMATRIX with Microsoft WORD:
In accordance with the usual "LQMATRIX" instructions,
download your font at the DOS prompt (A> or C>) using the
command: LQ fontname (LQ fontname 0 if you want to reset
the printer default ROMfont for normal printing). The
download program will signal when it is completed and return
you to command level (the DOS prompt).
Load Microsoft Word as usual.
To toggle on the downloaded custom RAMfont, send the printer
control code sequence "ESC % 1." From Word this is done by
the sequence "<Alt-27>%1", where <Alt-27> means: hold down
the Alt key while entering 2 7 on the keypad, then release
the Alt key; then without spaces enter the percent sign and
the numeral one.
To toggle from the custom font back to the default, enter
"<Alt-27>%0". This restores the printer to its built-in
ROMfont.
(The use of <Alt> and a keypad number sequence is the
standard way in which ASCII codes are sent to the printer
from within Word; that's how the extended character set and
graphics characters are accessed. "27" is the ASCII code
for "Esc".)
You may wish to create macros to toggle the printer control
codes; this can be done in the usual way. See the Word
documentation.
Your Microsoft Word document must be formatted to print in a
letter-quality font (e.g. Roman or SansSerif; NLQ on the LQ-
800). If it is set in a draft mode (pica or elite) the
custom font will not kick in. (However, you can print words
with the custom font even while you are using a draft mode
default font for the body of your text, if you Select those
words or passages which you want to print in the custom font
and Character Format them to Roman.)
This writer has found that this works perfectly well with
Microsoft Word 4.0 into an Epson LQ-850; he cannot vouch for
any other combination!